Skip to content

Add tests for table trace type with Plotly.restyle and Plotly.relayout #2096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

VeraZab
Copy link

@VeraZab VeraZab commented Oct 17, 2017

related to: #2092
I've written a few sample tests for what would be needed to properly integrate tables in the workspace, let me know if there's any questions or anything else I can help with

cc @monfera

}

it('should be able switch to table trace from another plot type', function(done) {
var mock = Lib.extendDeep({}, require('@mocks/workspace_starter_state.json'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VeraZab would you mind replacing this require call with:

var mock = {
  data: //
  layout //
}

as each json mock in test/image/mocks/ is expected to have a corresponding image in test/image/baselines/? This should make the test go ✅

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, thanks!

@etpinard etpinard added status: in progress bug something broken labels Oct 17, 2017
@VeraZab VeraZab closed this Oct 20, 2017
@etpinard etpinard deleted the table-tests branch January 11, 2018 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants